import { RouteRecordRaw } from "vue-router";

const whiteRoutes: RouteRecordRaw[] = [
  {
    path: "/login",
    name: "Login",
    component: () => import("@/views/login/index.vue"),
    meta: {
      requiresAuth: false,
      title: "登录",
      layout: false,
    },
  },
  {
    path: "/register",
    name: "Register",
    component: () => import("@/views/login/register.vue"),
    meta: {
      requiresAuth: false,
      title: "注册",
      layout: false,
    },
  },
];

export default whiteRoutes;
